/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package cz.cvut.fel.omo.blog;

import java.util.ArrayList;

/**
 *
 * @author jarda
 */
public class AdminAccount extends User{

    public AdminAccount(String name, String psw,Blog blog) {
        super(name, psw,blog);
    }
    public void createNewTopic(String name,String description){belognToSite.fullTopicsList.add(new Topic(name, description));}
    public void writeNewPost( String Name, String content){belognToSite.fullArticleList.add(new Post(this.username, Name, content));}
   
}
